﻿''' <summary>
''' Device types table
''' </summary>
''' <remarks></remarks>
Public Enum DeviceTypeEnum As Int32
    ''' <summary>
    ''' User related (for the moment, only height and weight)
    ''' </summary>
    ''' <remarks></remarks>
    UserRelated = 0
    ''' <summary>
    ''' Measure-Source is tzhe Withings BodyScale
    ''' </summary>
    ''' <remarks></remarks>
    BodyScale = 1
    ''' <summary>
    ''' Measure-Source is tzhe Withings lood Pressure Monitor
    ''' </summary>
    ''' <remarks></remarks>
    BloodPressureMonitor = 4
    ''' <summary>
    ''' all types
    ''' </summary>
    ''' <remarks></remarks>
    All = 255
End Enum


''' <summary>
'''  Users Gender
''' </summary>
''' <remarks></remarks>
Public Enum GenderEnum As Int32
    ''' <summary>
    ''' 0 for male
    ''' </summary>
    ''' <remarks></remarks>
    Male = 0
    ''' <summary>
    ''' 1 for female
    ''' </summary>
    ''' <remarks></remarks>
    Female = 1
End Enum


''' <summary>
''' Each measure group contains the following attributes.
''' </summary>
''' <remarks></remarks>
Public Enum AttributionStatusEnum As Integer
    ''' <summary>
    ''' The measuregroup has been captured by a device and is known to belong to this user (and is not ambiguous)
    ''' </summary>
    ''' <remarks></remarks>
    CapturedByDeviceBelongsToUser = 0
    ''' <summary>
    ''' The measuregroup has been captured by a device but may belong to other users as well as this one (it is ambiguous)
    ''' </summary>
    ''' <remarks></remarks>
    CapturedByDeviceCanBelongToOtherUser = 1
    ''' <summary>
    ''' The measuregroup has been entered manually for this particular user
    ''' </summary>
    ''' <remarks></remarks>
    EnteredManually = 2
    ''' <summary>
    ''' The measuregroup has been entered manually during user creation (and may not be accurate)
    ''' </summary>
    ''' <remarks></remarks>
    EnteredManuallyDuringAccountCreation = 3
End Enum

''' <summary>
''' The category of the group. A measure group can represent either measures captured by the device or objectives set by the user. The category field indicates for each measure group whether the measures in the group are measurements or targets.
''' </summary>
''' <remarks></remarks>
Public Enum CategoryEnum As Int32
    ''' <summary>
    ''' Unkown
    ''' </summary>
    ''' <remarks></remarks>
    None = 0
    ''' <summary>
    ''' Defines the this Category is a Measure
    ''' </summary>
    ''' <remarks></remarks>
    IsMeasure = 1
    ''' <summary>
    ''' Defines the this Category is a target of the user
    ''' </summary>
    ''' <remarks></remarks>
    IsTarget = 1
End Enum


''' <summary>
''' Represents the Type given from the WithingsWebservice
''' </summary>
''' <remarks></remarks>
Public Enum MeasureTypeEnum As Int32
    ''' <summary>
    ''' Unkown Type
    ''' </summary>
    ''' <remarks></remarks>
    None = 0
    ''' <summary>
    ''' Weight (kg)
    ''' </summary>
    ''' <remarks></remarks>
    Weight = 1
    ''' <summary>
    ''' Height (meter)
    ''' </summary>
    ''' <remarks></remarks>
    Heigth = 4
    ''' <summary>
    ''' Fat Free Mass (kg)
    ''' </summary>
    ''' <remarks></remarks>
    FatFreeMass = 5
    ''' <summary>
    ''' Fat Ratio (%)
    ''' </summary>
    ''' <remarks></remarks>
    FatRation = 6
    ''' <summary>
    ''' Fat Mass Weight (kg)
    ''' </summary>
    ''' <remarks></remarks>
    FatMassWeight = 8
    ''' <summary>
    ''' Diastolic Blood Pressure (mmHg)
    ''' </summary>
    ''' <remarks></remarks>
    DiastolicBloodPressure = 9
    ''' <summary>
    ''' Systolic Blood Pressure (mmHg)
    ''' </summary>
    ''' <remarks></remarks>
    SystolicBloodPressure = 10
    ''' <summary>
    ''' Heart Pulse (bpm)
    ''' </summary>
    ''' <remarks></remarks>
    HeartPulse = 11
End Enum

